//TOWN DIALOGUE SCRIPT - The First Tower
//CHARACTERS - Gomlaka and Rentar-Ihrno

begintalkscript;

variables;

int i,j,k,choice;

begintalknode 1;
state = -1;
nextstate = 2;
question = "Rentar Ihrno";
text1 = "You look at the shade warily. Finally you decide to talk to it. _What is your name?_";

begintalknode 2;
state = 2;
nextstate = 3;
question = "When it doesn't reply you ask again. _What is your name?_";
text1 = "The shade laughs. _My name is Rentar Ihrno, leader of the Vahnatai._";

begintalknode 3;
state = 3;
nextstate = 4;
question = "_What are you doing here?_";
text1 = "_Here, here._ Rentar Ihrno laughs again. _I am in my keep, many miles beneath the surface. All you can see now is a magical representation of my body. I am already planning another similar problem like this in a nearby valley._";
text2 = "She considers something. _Though I may travel up to the second tower in this valley if you make it that far._ She smiles nastily. _But I am confident you will not._";

begintalknode 4;
state = 4;
nextstate = 5;
question = "_Why are you doing this?_";
text1 = "Rentar Ihrno snarls. _Why am I doing this? I am doing this so that we can rid the surface of the Empire once and for all. Then those of us who wish to can go back to the surface. This is for revenge!_";

begintalknode 5;
state = 5;
nextstate = -1;
question = "_What traps have you set out for us?_";
text1 = "Rentar Ihrno looks startled. _There is no harm in you knowing. There are stronger beings ahead, much stronger than the ones you have faced so far. They will crush you into dust!_";

begintalknode 6;
state = -1;
nextstate = 7;
question = "Gomlaka the Sorceror";
text1 = "The prisoner looks at you with un-disguised mistrust. Maybe you shouldn't talk to him.";

begintalknode 7;
state = 7;
nextstate = 8;
question = "_What is you name?_";
text1 = "Your question seems to have jerked him back into the land of the living. _My n..name?_ he stammers. The poor man must have been trapped here a long time.";

begintalknode 8;
state = 8;
nextstate = 9;
question = "_Yes, your name. What is it?_";
text1 = "_I am, was, am, was, WAS, the Sorceror Gomlaka. People feared me throughout Avernum. Then Rentar-Ihrno herself attacked me._ He gives a hollow laugh. _She bore down on me with powerful magic._";
text2 = "_Magic so powerful that even I could not resist. A word of caution. She visits here regularly, I think just to inflict pain on me, but her magic will easily blow away adventurers like you._";
text3 = "_Go to the Hidden City. There's a farmhouse back towards the village, if that is where you have come from. Near that farmhouse is a crack leading into the cliff. The HIDDEN CITY is there, situated inside that crack._";
text4 = "_Enter the crack, and travel for miles back towards the direction of the village. Just kep on going till you bump into the HIDDEN CITY. You can't miss it. However, there is a small trick. There are TWO cities._";
text5 = "_The first one is just a trick. Then there's a tunnel into the hill. That is actually a maze, one of the town's from Archmagi Micael's scenario 'THE MAZE'. Once you have travelled through the maze, you will see the hidden city!_";
text6 = "_It contains all the items you need to survive!_"; 
//Your Bladesmaster swords will eventually melt, but these will stay with you for ever!_";

begintalknode 9;
state = 9;
nextstate = -1;
question = "_Need for what?_";
text1 = "The Sorceror looks startled. _To defeat Rentar, of-course. Rentar-Ihrno has powerful magic, but the HIDDEN CITY items can protect you, speed you up, make you near invincible!!!_";

begintalknode 19;
state = 9;
nextstate = -1;
question = "_How do you know all this??_";
text1 = "_Oh, I used to visit this dear little valley. It's quite quaint. Also, I helped make the defense for the Hidden City.";


begintalknode 10;
state = 7;
nextstate = 8;
question = "Ask him about the Tower";
text1 = "You don't get much response. The man just groans and weeps. After a few minutes of this you decide to take a different approach.";

begintalknode 11;
state = 7;
nextstate = -1;
question = "_Can you teach us anything?_";
text1 = "He smiles, a thin smile at best. _I'm not called a sorceror for nothing. I can cast powerful spells, though I can't show you them. Tell you what. I'll Identify any of your items for free!_";
action = ID 0;